<script language="javascript"> 
<!--
function killerrors() { 
return true; 
} 
window.onerror = killerrors; 
//-->
</script>
<script type="text/javascript">
var process_request = "<?php echo $this->_var['lang']['process_request']; ?>";
var btn_buy = "<?php echo $this->_var['lang']['btn_buy']; ?>";
var is_cancel = "<?php echo $this->_var['lang']['is_cancel']; ?>";
var select_spe = "<?php echo $this->_var['lang']['select_spe']; ?>";
</script>
<div class="block1 clearfix" >
  <div class="block clearfix" > <span class="top_nav"> <?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,utils.js')); ?> 
  <div style="float:left;"><font id="ECS_MEMBERZONE"> <?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?> </font></div>
    <div style="float:right;text-align:right;"> 
      <?php if ($this->_var['navigator_list']['top']): ?> 
      <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?> 
      <a  class="redtext"href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a> 
      <?php if (! ($this->_foreach['nav_top_list']['iteration'] == $this->_foreach['nav_top_list']['total'])): ?> 
      | 
      <?php endif; ?> 
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
      <?php endif; ?></div>
    </span> </div>
</div>
<div class="blank"></div>
<div class="block clearfix">
  <div class="logo"> <img src="themes/jingdong_utf/images/logo.gif"/> </div>
  <div style="float:right;width:660px;">
    <div class="search_div">
      <div id="search"  class="clearfix">
        <form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()" >
          <input name="keywords" type="text" id="keyword" value="<?php echo htmlspecialchars($this->_var['search_keywords']); ?>" class="search_inp"/>
          <input name="imageField" type="submit" value=" " class="search_btn" />
        </form>
      </div>
      <div class="hotword"> 
        <script type="text/javascript">
    
    <!--
    function checkSearchForm()
    {
        if(document.getElementById('keyword').value)
        {
            return true;
        }
        else
        {
            alert("<?php echo $this->_var['lang']['no_keywords']; ?>");
            return false;
        }
    }
    -->
    
    </script> 
        <?php if ($this->_var['searchkeywords']): ?> <span class="hotwords">热门搜索：</span> <?php $_from = $this->_var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?> <a class="redtext"href="search.php?keywords=<?php echo urlencode($this->_var['val']); ?>"><?php echo $this->_var['val']; ?></a> <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php endif; ?> </div>
    </div>
    <div style="width:185px;height:60px;float:right;">
      <ul style=" float:right; margin-top:5px;">
        <li class="tel"><a href="#">服务热线:<font class="telnum">
 <?php if ($this->_var['service_phone']): ?>
 <?php echo $this->_var['service_phone']; ?>
 <?php endif; ?>
</font></a></li>
	<li style="margin-top:10px;"><div class="cartinfo" id="ECS_CARTINFO"><a><?php echo $this->smarty_insert_scripts(array('files'=>'transport.js')); ?><?php 
$k = array (
  'name' => 'cart_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?></a></div>
</li>
      </ul>
    </div>
   
  </div>
</div>
<div class="block1 clearfix" style="background:#E4393c">
  <div class="main_nav ">
    <ul class="MenuList">
      <li  class="cur"><a href="index.php"><?php echo $this->_var['lang']['home']; ?></a></li>
      <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
      <li <?php if ($this->_var['nav']['active'] == 1): ?> class="cur"<?php endif; ?> ><a  style="color:fff;" href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a></li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      
    </ul>
  </div>
</div>
<div class="blank"></div>